package com.zhangtai.modules.entity.system;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

	

/**
 * 角色
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-10 15:34:13
 */
@Data
@TableName("sys_role")
public class RoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long roleId;
			/**
		 * 英文名称
		 */
			private String roleName;
			/**
		 * 备注
		 */
			private String remark;
//			/**
//		 * 创建者ID
//		 */
//			private Long createUserId;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 中文名称
		 */
			private String name;
			/**
		 * 
		 */
			private Integer isDelete;
	
}
